package cn.birdbaby.plugins.annotator.fieldannotator;

import cn.birdbaby.plugins.annotator.AbstractAnnotator;
import com.intellij.openapi.application.ReadAction;
import com.intellij.psi.PsiAnnotation;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiField;
import com.intellij.psi.PsiJavaCodeReferenceElement;
import com.intellij.psi.util.PsiTreeUtil;
import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.lang3.StringUtils;

import java.util.Collection;

/**
 * @author llorando 8/8/24 12:10 pm
 * 在类属性中添加注解
 */
public abstract class FieldAnnotator extends AbstractAnnotator {
    public String translate(PsiField psiField){
        //todo 英文字段名翻译成中文
        return psiField.getName();
    }
}
